import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import timerDirect from './timer';
import store from '@/store';
import upload,{ UploadCfg } from '@/upload';

export default async ({ Vue }) => {
	if (typeof process === 'undefined') {
		Vue.use(ElementUI)
		Vue.use(timerDirect)
		Vue.use(upload)
		Vue.mixin({ UploadCfg,store })
	}
}